home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Jan 90 / MacApp.Tech$ 1⁄12⁄90 / 0406-Using DoChoice probl-Jan90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  891 b   |  32 lines  |  [TEXT/GEOL]

  1. Item    0468317                         12-Jan-90        08:35
  2.  
  3. From:   DAWSON.M                        Dawson, Mark
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Using DoChoice problem
  8.  
  9. I'm try to handle events in my main window that I created via ViewEdit, but
  10. when I try to execute the program, I get an error:
  11. "Can't find class name TBigView"
  12. stopped at break GETCLASSIDFROMNAME Seg#1
  13.  
  14. I created the window as a TView object and changed its class to "TBigView".
  15. My .h file has a:
  16. class TBigView: public TView {
  17. public virtual void DoChoice(TView *origView, short itsChoice);
  18. };
  19.  
  20. my .cp file has:
  21. #pragma segment ARES
  22. pascal void TBigView::DoChoice (TView *origView, short itsChoice)
  23.   {
  24.     DebugStr((StringPtr)"\pI'm Here");
  25.   }
  26.  
  27. Is there anything any of you can think of to cause this problem? (I hope I'm
  28. giving enough info to help solve this).
  29.  
  30. --Mark
  31.  
  32.